/* /magic/A little miracle.css */

*:focus {outline: none;} /* prevents outline on clicked items */
* { /* reset */
	padding:0;
	margin:0;
	box-sizing:border-box;
}

body {
	background-color:ivory;
	font-family:sans-serif;
}

#main {
	background-color:ivory;
	width:100vw;
	margin: 1vw auto 0 auto;
	padding-bottom: 1vw;
}
#head {
	padding-top: .5vw;
	display:flex;
	align-items: center;
	justify-content: space-around;
}
#head div img {
	width:80%;
	display:block;
	margin:0 auto;
}
#title {
	font-style: italic;
	color:#00f;
	font-size:50px;
}
#msg {
	padding: 0 10px;
	text-align:center;
	color:black;
	font-size:45px;
}
#answer {
	display:none; /* will be flex when shown */
	margin:30px auto;
	align-items: flex-end;
	justify-content:center;
}
.wizard {
	flex 1;
	max-height: 193px;
}
#card { /* the answer card */
	flex: none;
	width: 134px;
}
#deck {
	display:none; /* will be flex when shown */
	margin:1vw auto;
	width:98vw;
	flex-wrap: wrap;
	max-width:1080px;
}
#deck img {
	display:inline;
	height:20vw;
}
#done {
	margin-top:5px; /* take less space when deck on show */
	margin-bottom:5px;
	display:none;
}
.button {
	background: peru;
	margin:20px auto;
	color:ivory;
	width:200px;
	text-align:center;
	padding:4px 0;
	font-size: 50px;
	border-radius: 15%;
	cursor:pointer;
}
@media screen and (orientation:landscape) {
	#deck img {
		height:10.8vw;
	}
	#title, #msg {
		font-size: 20px;
	}
	.button {
		font-size: 32px;
	}
}			
@media screen and (min-width:1080px) {
	#deck img {
		height:113px;
	}			
}